var result = Object.keys(this.scripts).filter(k => this.scripts.hasOwnProperty(k)).sort();/// <reference path='typings/typescriptServices.d.ts' />/// <reference path='typings/codemirror.d.ts' />​module teapo {​ /** * Pubic API exposing access to TypeScript language services * (see its service property) * and handling the interfaces TypeScript requires * to access to the source code and the changes. */ export class TypeScriptService {​ /** Set of booleans for each log severity level. */ logLevels = { information: false, debug: false, warning: true, error: true, fatal: true };​ /** TypeScript custom settings. */ compilationSettings = new TypeScript.CompilationSettings();​ /** Main public API of TypeScript compiler/parser engine. */ service: TypeScript.Services.ILanguageService;​ /** Files added to the compiler/parser scope, by full path. */ scripts: { [fullPath: string]: TypeScriptService.Script; } = {};​ log: { logLevel: string; text: string; }[] = null; private _logLevel: string = null;​​ constructor() {​